home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-19
/
pkey12_1.zip
/
UT.LSP
< prev
next >
Wrap
Text File
|
1992-09-13
|
401b
|
14 lines
;Easy underline text
;
;
(Defun c:ut()
(prompt "\nselect text to underline.")
(setq ss(ssget)len(sslength ss)count 0)
(while(not(equal len count))
(setq ent(entget(ssname ss count)))
(if(equal(cdr(assoc 0 ent))"TEXT")
(progn(setq text(cdr(assoc 1 ent))
text(strcat "%%u" text "%%u")
ent(subst(cons 1 text)(assoc 1 ent)ent))
(entmod ent)))
(setq count(1+ count))))